myvar_0 = GetPrimitiveParameter(0)
myvar_1 = GetPrimitiveParameter(1)
myvar_2 = GetPrimitiveParameter(2)
myvar_3 = Neighborhood["new"]()
	if (myvar_3["isValidLot"](myvar_3, myvar_1) ~= 1) then 


	print("Invalid Lot ID specified.")
	SetScriptReturnValue(False)
	return 
end
	if (nBusiness["LotHasBusiness"](myvar_1) ~= 0) then 


		if (BusinessInfo["new"](myvar_1)["isCustomer"](BusinessInfo["new"](myvar_1), myvar_0) ~= 1) then 


		SetScriptReturnValue(False)
		return 
	end
	BusinessInfo["new"](myvar_1)["getCustomerDataById"](BusinessInfo["new"](myvar_1), myvar_0)["setLoyaltyStars"](BusinessInfo["new"](myvar_1)["getCustomerDataById"](BusinessInfo["new"](myvar_1), myvar_0), myvar_2)
		if (BusinessInfo["new"](myvar_1)["getCustomerDataById"](BusinessInfo["new"](myvar_1), myvar_0)["getLoyaltyStars"](BusinessInfo["new"](myvar_1)["getCustomerDataById"](BusinessInfo["new"](myvar_1), myvar_0)) == myvar_2) then
		SetScriptReturnValue(True)
	else
		local myvar_7 = False
		SetScriptReturnValue(myvar_7)
	else
		local myvar_5 = False
		SetScriptReturnValue(myvar_5)
	end
end
